package com.woniu.exception;

import com.woniu.enumeration.ResultCode;
import lombok.Getter;

@Getter
public class BookBusinessException extends RuntimeException{
    // 自定义结果接口
    private ResultCode resultCode;

    public BookBusinessException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
